package com.weishu.house.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地区表
 * </p>
 *
 * @author gao
 * @since 2021-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysRegion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("REGION_ID")
    private Integer regionId;

    @TableField("REGION_CODE")
    private String regionCode;

    @TableField("REGION_NAME")
    private String regionName;

    @TableField("PARENT_ID")
    private Integer parentId;

    @TableField("REGION_LEVEL")
    private Integer regionLevel;

    @TableField("REGION_ORDER")
    private Integer regionOrder;

    @TableField("REGION_NAME_EN")
    private String regionNameEn;

    @TableField("REGION_SHORTNAME_EN")
    private String regionShortnameEn;

    /**
     * 开通城市 0 未开通 1 已开通
     */
    @TableField("FLAG")
    private Integer flag;

    private LocalDateTime updateTime;


}
